Hackathon: update resource file validation to support the new resource data model#120
Open
rmadupuri wants to merge 1 commit into
Open
Hackathon: update resource file validation to support the new resource data model#120rmadupuri wants to merge 1 commit into
rmadupuri wants to merge 1 commit into
Conversation
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Five optional columns were added to
data_resource_patient.txt,data_resource_sample.txtanddata_resource_study.txt:DISPLAY_NAME: human-readable label for the item in the UI treeTYPE: free-text badge label (e.g.H_AND_E,CT,BAM)GROUP_PATH:/-separated folder path defining the item's positionin the resource tree (e.g.
CT 2023-01-15/Series 1: Axial T2)METADATA: JSON string for domain-specific key/value dataPRIORITY: integer display order within a folder or categoryValidator changes
SampleResourceValidator,PatientResourceValidatorandStudyResourceValidatorPRIORITYandMETADATAvalidation:PRIORITYmust be a valid integer when present;METADATAmust be valid JSON when presentTest changes
data_resource_sample_valid.txt,data_resource_patient_valid.txt,and
data_resource_study_valid.txtwith the new optional columnsdata_resource_patient_invalid_metadata.txtanddata_resource_patient_invalid_priority.txt